package cn.stylefeng.guns.modular.rest.fi.vo;

import cn.stylefeng.guns.modular.fi.model.result.FiCarrierFreightInfoResult;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
public class FiCarrierFreightRSVo {

    private String operateName;

    private Long operateId;

    private String startDt;

    private String endDt;

    /**
     * 公里数
     */
    private BigDecimal kilometerAll = new BigDecimal(0).setScale(2, BigDecimal.ROUND_HALF_DOWN);

    /**
     * 总数量
     */
    private BigDecimal sumNumAll = new BigDecimal(0).setScale(2, BigDecimal.ROUND_HALF_DOWN);;

    /**
     * 总体积
     */
    private BigDecimal sumVolAll = new BigDecimal(0).setScale(4, BigDecimal.ROUND_HALF_DOWN);;

    /**
     * 总运费
     */
    private BigDecimal freightMoneyAll = new BigDecimal(0).setScale(2, BigDecimal.ROUND_HALF_DOWN);;

    private BigDecimal sumMoneyAll = new BigDecimal(0).setScale(2, BigDecimal.ROUND_HALF_DOWN);;

    /**
     * 装车费
     */
    private BigDecimal loadingMoneyAll = new BigDecimal(0).setScale(2, BigDecimal.ROUND_HALF_DOWN);;

    /**
     * 客诉
     */
    private BigDecimal custComplaintAll = new BigDecimal(0).setScale(2, BigDecimal.ROUND_HALF_DOWN);;

    /**
     * 其他罚款
     */
    private BigDecimal otherFinesAll = new BigDecimal(0).setScale(2, BigDecimal.ROUND_HALF_DOWN);;

    /**
     * 其他补贴
     */
    private BigDecimal otherSubsidieAll = new BigDecimal(0).setScale(2, BigDecimal.ROUND_HALF_DOWN);;


    List<FiCarrierFreightInfoResult> items = new ArrayList<>();
}
